import  axios from  'axios'

export default class Hospitaldictionary {
    static hospitaldictionary = null

    static getInstance(){
        if(this.hospitaldictionary == null){
            this.hospitaldictionary = new Hospitaldictionary()
        }
        return this.hospitaldictionary
    }
     list(params){
        return axios.get(`http://localhost/dictionaries/dictionaries`,{
            params
        })
    }
    del(did){
        return axios.delete(`http://localhost/dictionaries/dictionaries/delete/${did}`)
    }



    
}